package com.qf.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.03.09
 * @since 1.0
 */
@ConfigurationProperties(prefix ="user" )
@Data
@Component
public class User {
    private String username;
    private int age;
}
